package com.cap.dreamcircle.Model.Bean;

/**
 * Created by liucxu on 2018/3/21.
 */

public class NotifyDreamArticalEntity {
    private String id;
    private String title;
    private String summary;
    private String content;
    private String imageUrl;
    private String likeCount;
    private String likeAlready;
    private int commentCount;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(String likeCount) {
        this.likeCount = likeCount;
    }

    public String getLikeAlready() {
        return likeAlready;
    }

    public void setLikeAlready(String likeAlready) {
        this.likeAlready = likeAlready;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public boolean hasLiked() {
        if ("n".equals(this.likeAlready)) {
            return false;
        }
        return true;
    }
}
